_askForUsernameAndBeginVerification() {
this._authPrompt.setUser(null);
- this._authPrompt.setQuestion(_('Username…'));
+ this._authPrompt.setQuestion(_('Username'));
this._showRealmLoginHint(this._realmManager.loginFormat);
}
// Hack: The request string comes directly from PAM, if it's "Password:"
- // we replace it with our own, if it's something else we replace the
- // last colon and any trailing spaces with a "…".
+ // we replace it with our own to allow localization, if it's something
+ // else we remove the last colon and any trailing or leading spaces.
if (request === 'Password:' || request === 'Password: ')
- this._passwordEntry.hint_text = _('Enter Password…');
+ this._passwordEntry.hint_text = _('Password');
else
- this._passwordEntry.hint_text = request.replace(/: *$/, '…');
+ this._passwordEntry.hint_text = request.replace(/: *$/, '').trim();
this._passwordEntry.password_visible = echoOn;
in the search entry when no search is
active; it should not exceed ~30
characters. */
- hint_text: _("Type to search…"),
+ hint_text: _('Type to search'),
track_hover: true,
can_focus: true,
});
this._pimEntry = new St.PasswordEntry({
style_class: 'prompt-dialog-password-entry',
- hint_text: _('Enter PIM Number…'),
+ hint_text: _('PIM Number'),
can_focus: true,
x_expand: true,
});
this._passwordEntry = new St.PasswordEntry({
style_class: 'prompt-dialog-password-entry',
- hint_text: _('Enter Password…'),
+ hint_text: _('Password'),
can_focus: true,
x_expand: true,
});